﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RedDragon.Common.Domain.AuthorizeRBAC
{
    /// <summary>
    /// 客户表
    /// </summary>
    [SugarTable("Clients")]
    public class Clients 
    {
        /// <summary>
        /// 主键id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]//IsPrimaryKey 主键 IsIdentity 自增
        public int ClientsId { get; set; }
        /// <summary>
        /// 客户编码
        /// </summary>

        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        public string ? ClientsNo { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string ? ClientsName { get; set; }

        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        /// <summary>
        /// 客户区分
        /// </summary>
        public string ? ClientsType { get; set; }

        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        /// <summary>
        /// 客户电话
        /// </summary>
        public string ? ClientsTell { get; set; }

        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        /// <summary>
        /// 客户邮箱
        /// </summary>
        public string ? ClientsEmls { get; set; }

        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度

        /// <summary>
        /// 客户行业
        /// </summary>
        public string ? ClientsWork { get; set; }

        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        /// <summary>
        /// 客户地址
        /// </summary>
        public string ? ClientsAdds { get; set; }

        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        /// <summary>
        /// 所在国家
        /// </summary>
        public string ? ClientsUnid { get; set; }

        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        /// <summary>
        /// 所在城市
        /// </summary>

        public string ? ClientsCity { get; set; }

        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        /// <summary>
        /// 客户分类
        /// </summary>
        public string ? ClientsClie { get; set; }

        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        /// <summary>
        /// 所在标签
        /// </summary>
        public string ? ClientsTite { get; set; }

        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        /// <summary>
        /// 状态1
        /// </summary>
        public string ? ClientsSmar { get; set; }

        [SugarColumn(ColumnDataType = "Nvarchar(100)")]//设置长度
        /// <summary>
        /// 本公司标识
        /// </summary>
        public string ? Clientsbiao { get; set; }
        /// <summary>
        /// 删除
        /// </summary>

        public int IsDel { get; set; }


    }
}
